home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / DMAKE38C.ARJ / CONFIG.MK < prev    next >
Makefile  |  1992-01-22  |  623b  |  24 lines

  1. # This is the Sys VR3 PWD configuration file.  It configures SysvR3 unix
  2. # versions of dmake to use a provided version of getcwd rather than the
  3. # standard library version that uses popen to capture the output of pwd.
  4. #
  5.  
  6. osredir := $(OS)$(DIRSEPSTR)$(OSRELEASE)$(DIRSEPSTR)$(OSENVIRONMENT)
  7.  
  8. # The following are required sources
  9. OSRESRC := getcwd.c
  10.  
  11. .IF $(OSRESRC)
  12.    SRC    += $(OSRESRC)
  13.    .SETDIR=$(osredir) : $(OSRESRC)
  14. .END
  15.  
  16. .SOURCE.h : $(osredir)
  17.  
  18. # Local configuration modifications for CFLAGS, there's local SysV includes
  19. # too.
  20. CFLAGS += -I$(osredir)
  21.  
  22. # Xenix needs -lx in order to link successfully.
  23. LDLIBS += -lx
  24.